// 引入ReactDOM的createRoot
import {createRoot} from 'react-dom/client'
// 引入App组件
import App from './App'
import store from './redux/store'
import {Provider} from 'react-redux'

const containter = document.getElementById('root')
const root = createRoot(containter)
// 渲染App到页面
root.render(
  <Provider store={store}>
    <App/>
  </Provider>
)